

//
//  ContentViewController.m
//  框架
//
//  Created by MyMac on 15/9/23.
//  Copyright (c) 2015年 tongfang. All rights reserved.
//

#import "ContentViewController.h"

@interface ContentViewController ()

@end

@implementation ContentViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    UIBarButtonItem*right=[[UIBarButtonItem alloc]initWithBarButtonSystemItem:UIBarButtonSystemItemDone target:self action:@selector(right)];
    self.navigationItem.rightBarButtonItem=right;

     NSLog(@"%@",self.navigationController.viewControllers);
    // Do any additional setup after loading the view.
}
-(void)right
{





}
- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
